home *** CD-ROM | disk | FTP | other *** search
- #sky=sky.cel
-
- #mess 1
- Delay 3
- TextA: -1 74 "Go to the Library and find a secret switch."
- #end
-
- #mess 2
- Delay 3
- TextA: -1 74 "You need a Gold Key to exit the Castle."
- #end
-
- #mess 3
- Delay 9
- TextA: -1 74 "You need a Silver Key to go to the Library."
- #end
-
- #mess 4
- Delay 24
- TextA: -1 74 "Find a Bronze Key somewhere in Cemetary."
- #end
-
- #mess 5
- Delay 6
- TextA: -1 74 "A fence was removed somewhere in"
- TextB: -1 84 "the Castle's dungeons."
- #end
-
- #proc1
- Speed 6
- BackWait 2
- SfxId 84
- SfxPosxy 40 58 1
- SfxPosxy 41 58 1
- SfxPosxy 40 59 1
- SfxPosxy 41 59 1
- #action
- waitout 10496 15104 512
- move 41 59 0 -220
- move 40 58 0 220
- #end
-
- #proc2
- Speed 64
- LinkSwitchat 24 48
- SfxId 84
- #action
- move 23 47 255 255
- move 25 47 -255 -255
- #end
-
- #proc3
-
- #action
- NonStop
- Death 18 48 19 51 0 24 20
- Death 29 48 30 51 0 24 20
- Death 20 50 23 51 0 24 20
- Death 25 50 28 51 0 24 20
- Death 22 48 23 49 0 24 20
- Death 25 48 26 49 0 24 20
-
- Death 37 28 38 30 0 24 3
- Death 32 31 37 32 0 24 3
- Death 37 23 47 23 0 24 3
- Death 41 19 45 20 0 24 3
- Death 36 14 43 14 0 24 3
- Death 36 23 36 24 0 24 3
- Death 37 33 37 34 0 24 3
- Death 41 21 41 22 0 24 3
- Death 44 14 45 18 0 24 3
- #end
-
- #proc4
- LinkSwitchat 26 39
- SfxId 84
- #action
- change 23 38 109
- change 23 39 109
- change 25 37 109
-
- up 23 38 88
- up 23 39 88
- up 25 37 88
- move 23 41 255 0
- move 25 41 -255 0
- wind 21 37 22 37 6 0
- wind 21 39 22 39 6 0
- wind 26 36 27 36 -5 0
- #end
-
- #proc5
- StartDelay 10
- speed 5
- SfxId 83
- SfxPosXy 24 35
- #action
- up 24 36 96
- unlock 6
- #end
-
- #proc6
- Lock
- StartDelay 8
- speed 4
- SfxId 84
- #action
- move 23 41 -255 0
- move 25 41 255 0
- #end
-
- #proc7
- LinkSwitchat 19 35
- LinkSwitchat 25 21
- BackWait 3
- SfxId 84
- #action
- up 22 21 88
- up 24 21 88
- #end
-
- #proc8
- lightremap
- startdelay 4
- checkgo
- checkback
- Mortal
- SfxId 84
- BackWait 4
- #action
- move 22 22 -256 0 3
- move 23 22 -256 0 3
- move 24 22 -256 0 3
- move 22 23 -256 0 3
- move 23 23 -256 0 3
- move 24 23 -256 0 3
- move 23 21 -256 0 3
- move 23 24 -256 0 3
-
- move 22 20 -256 0 3
- move 23 20 -256 0 3
- move 24 24 -256 0 3
- #end
-
- #proc9
- speed 10
- lightremap
- checkgo
- Mortal
- BackWait 10
- SfxId 84
- #action
- move 21 23 0 -128
- move 21 24 0 -128
- move 21 25 0 -128
- move 22 25 0 -128
-
- move 22 24 0 -312
-
- move 21 20 0 128
- move 20 21 0 128
- move 21 21 0 128
- move 21 22 0 128
- #end
-
- #proc10
- LinkSwitchat 36 15
- OnMessage 5
- #action
- up 40 20 88
- #end
-
- #proc11
- LinkSwitchat 34 20
- SfxId 80
- SfxPosxy 34 20
- Speed 2
- #action
- move 35 19 0 -255
- move 35 20 0 -255
- move 36 19 0 -255
- move 36 20 0 -255
- move 34 20 0 -255
- #end
-
- #proc12
- LockMessage 2
- BlueKey
- SfxID 84
- #action
- move 44 28 -256 0
- #end
-
- #proc13
- LockMessage 3
- RedKey
- SfxID 82
- SfxPosxy 30 20
- #action
- waitout 7936 5120 512
- rotate 31 19 7936 5120 -85
- rotate 31 20 7936 5120 -85
- rotate 32 19 7936 5120 -85
- rotate 32 20 7936 5120 -85
- #end
-
- ;The Mill
- #proc14
- #action
- ; NonStop
- ; Wind 50 29 52 30 0 -3
- ; Wind 51 31 52 33 0 -3
- ; Wind 52 24 52 27 0 -3
- ; Wind 50 27 50 27 0 -3
- #end
-
- #proc15
- ;BackWait 0.1
- ;Mortal
- #action
- NonStop
- Death 50 28 52 28 0 128 10
- Wind 50 28 52 30 0 -16
- ; Death 50 28 52 28 0 128 10
- ; wind 50 28 52 28 0 16
- #end
-
- #proc16
- speed 16
- #action
- move 49 28 -256 0
- move 52 29 512 0
- Lock 15
- #end
-
- #proc17
- LockMessage 4
- GreenKey
- SfxId 83
- SfxPosXy 27 17
- SfxPosXy 27 18
- Speed 5
- #action
- up 26 15 96
- up 29 15 96
- #end
-
- #proc18
- BackWait 4
- Speed 32
- checkgo
- Mortal
- #action
- move 47 33 0 210
- move 48 31 0 210
- move 49 31 0 210
- move 49 30 0 210
- move 48 30 0 210
- #end
-
- #proc19
- BackWait 2
- Linkswitchat 42 27
- #action
- move 49 33 0 -220
- #end
-
- #proc20
- #action
- up 19 27 88
- up 24 26 88
- #end
-
- #proc21
- #action
- NonStop
- Death 24 48 24 49 0 24 20
- #end
-
- #proc22
- OnMessage 1
- #action
- #end
-
- #proc23
- EndDelay 1
- #action
- #end
-
- ;void
- #links
- floor 52 27 23
-
- link 27 7 22
-
- floor 24 24 20
-
- link 42 27 19
- floor 49 31 19
- floor 49 32 19
-
-
- floor 48 31 18
- floor 48 32 18
-
- floor 27 17 17
- floor 28 17 17
-
- destroy 52 28 16
-
- floor 50 28 15
- floor 51 28 15
- floor 52 28 15
-
- floor 43 28 14
- floor 44 28 14
-
- floor 30 20 13
-
- floor 43 28 12
- floor 44 28 12
- floor 43 27 12
- floor 44 27 12
-
- link 34 20 11
-
- link 36 15 10
-
- floor 21 22 9
- floor 21 23 9
-
-
- floor 21 22 8
- floor 21 23 8
-
- link 19 35 7
- link 25 21 7
-
- floor 23 35 6
- floor 24 35 6
- floor 25 35 6
-
- link 26 39 5
- link 26 39 4
-
- floor 24 56 3
- floor 24 56 21
-
- shoot 25 47 2
-
- floor 40 58 1
- floor 41 58 1
- floor 40 59 1
- floor 41 59 1
-
- ; -------------- + -------------- + -----------------
- ; Setup sky file.
- ; #sky=filename.cel
- ;
- ; Freeze 3d objects
- ; #stopani [#number] ,freeze 3d object at start of level.
- ;
- ; Messages definition
- ; #mess [#number]
- ; Delay [.sec]
- ; Text[#word]: [ x,y] , x=-1 center for X
- ; #end
- ;
- ; #proc [#number]
- ; Setup process :
- ; StartDelay [.sec]
- ; BackWait [.sec] ,if not or 0 ,not revercible.
- ; Speed [.def]
- ; LifeCheckon ,LifeCheck:=True;
- ; Mortal ,Mortal:=True;
- ; LightRemap ,Wall bright:=Floor bright;
- ; Lock ,locked at begin;
- ; Loops [.num] ,loop action;
- ; LoopDelay [.sec] ,delay after loop;
- ; OnMessage [.num] ,[.num]= message [.num]
- ; FirstMessage [.num] ,shows one time
- ; LockMessage [.num] ,if Locked
- ; SfxId [.num] ,[.num]= sfx [.num]
- ; SfxPosxy [ x,y] ,
- ; LinkSwitchAt [ x,y]
- ;
- ; #action
- ; Action commands :
- ; lock [procnumber]
- ; unlock [procnumber]
- ; playani [.num] ,plays specified .3o .ani
- ; stopani [.num] ,stops ...
- ; move [ x,y] [ dx,dy] [s:num]
- ; xmove ---
- ; ymove ---
- ; rotate [ x,y] [ cx,cy] [dfi] [s:num]
- ; up [ x,y] [ H] [s:num] ,if H>=80 then walktrough
- ; light [ x,y] [int sec] [R:256] [Bright] [s:num]
- ; #end
- ;
- ; Links definition
- ; #links
- ; link [x,y] [.num] , walls and .3o
- ; floor - , floors
- ; shoot - , walls and .3o
- ; return - , walls and .3o
- ; unlock - , walls and .3o
- ; destroy - , 3dobject (auto-unlock locked processes)
- ; onofflink - , walls and .3o
- #end
- .
-